package hb;
// default package


import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * House entity. @author MyEclipse Persistence Tools
 */

public class House  implements java.io.Serializable {


    // Fields    

     private Integer houseId;
     private User user;
     private RentOrder rentOrder;
     private String ownerName;
     private String contact;
     private Integer rent;
     private String region;
     private String estate;
     private String address;
     private Integer floor;
     private Integer maxFloor;
     private Integer bedroom;
     private Integer sittingroom;
     private Integer toilet;
     private Integer square;
     private String equipment;
     private String description;
     private String picture1;
     private String picture2;
     private String picture3;
     private Integer status;
     private Date date;
     private Set rentOrders = new HashSet(0);


    // Constructors

    /** default constructor */
    public House() {
    }

	/** minimal constructor */
    public House(User user, String ownerName, String contact, Integer rent, String region, String estate, String address, Integer floor, Integer maxFloor, Integer bedroom, Integer sittingroom, Integer toilet, Integer square, String equipment, String description) {
        this.user = user;
        this.ownerName = ownerName;
        this.contact = contact;
        this.rent = rent;
        this.region = region;
        this.estate = estate;
        this.address = address;
        this.floor = floor;
        this.maxFloor = maxFloor;
        this.bedroom = bedroom;
        this.sittingroom = sittingroom;
        this.toilet = toilet;
        this.square = square;
        this.equipment = equipment;
        this.description = description;
    }
    
    /** full constructor */
    public House(User user, RentOrder rentOrder, String ownerName, String contact, Integer rent, String region, String estate, String address, Integer floor, Integer maxFloor, Integer bedroom, Integer sittingroom, Integer toilet, Integer square, String equipment, String description, String picture1, String picture2, String picture3, Set rentOrders) {
        this.user = user;
        this.rentOrder = rentOrder;
        this.ownerName = ownerName;
        this.contact = contact;
        this.rent = rent;
        this.region = region;
        this.estate = estate;
        this.address = address;
        this.floor = floor;
        this.maxFloor = maxFloor;
        this.bedroom = bedroom;
        this.sittingroom = sittingroom;
        this.toilet = toilet;
        this.square = square;
        this.equipment = equipment;
        this.description = description;
        this.picture1 = picture1;
        this.picture2 = picture2;
        this.picture3 = picture3;
        this.rentOrders = rentOrders;
    }

   
    // Property accessors

    public Integer getHouseId() {
        return this.houseId;
    }
    
    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public RentOrder getRentOrder() {
        return this.rentOrder;
    }
    
    public void setRentOrder(RentOrder rentOrder) {
        this.rentOrder = rentOrder;
    }

    public String getOwnerName() {
        return this.ownerName;
    }
    
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getContact() {
        return this.contact;
    }
    
    public void setContact(String contact) {
        this.contact = contact;
    }

    public Integer getRent() {
        return this.rent;
    }
    
    public void setRent(Integer rent) {
        this.rent = rent;
    }

    public String getRegion() {
        return this.region;
    }
    
    public void setRegion(String region) {
        this.region = region;
    }

    public String getEstate() {
        return this.estate;
    }
    
    public void setEstate(String estate) {
        this.estate = estate;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getFloor() {
        return this.floor;
    }
    
    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public Integer getMaxFloor() {
        return this.maxFloor;
    }
    
    public void setMaxFloor(Integer maxFloor) {
        this.maxFloor = maxFloor;
    }

    public Integer getBedroom() {
        return this.bedroom;
    }
    
    public void setBedroom(Integer bedroom) {
        this.bedroom = bedroom;
    }

    public Integer getSittingroom() {
        return this.sittingroom;
    }
    
    public void setSittingroom(Integer sittingroom) {
        this.sittingroom = sittingroom;
    }

    public Integer getToilet() {
        return this.toilet;
    }
    
    public void setToilet(Integer toilet) {
        this.toilet = toilet;
    }

    public Integer getSquare() {
        return this.square;
    }
    
    public void setSquare(Integer square) {
        this.square = square;
    }

    public String getEquipment() {
        return this.equipment;
    }
    
    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public String getPicture1() {
        return this.picture1;
    }
    
    public void setPicture1(String picture1) {
        this.picture1 = picture1;
    }

    public String getPicture2() {
        return this.picture2;
    }
    
    public void setPicture2(String picture2) {
        this.picture2 = picture2;
    }

    public String getPicture3() {
        return this.picture3;
    }
    
    public void setPicture3(String picture3) {
        this.picture3 = picture3;
    }

    public Set getRentOrders() {
        return this.rentOrders;
    }
    
    public void setRentOrders(Set rentOrders) {
        this.rentOrders = rentOrders;
    }
   

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }






}